package com.web.contract.mapper;


import com.web.contract.entity.Contract;
import com.web.currency.entity.Currency;
import com.web.customer.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractMapper {

    Integer addContract(Contract contract);

    Contract getContractByPendingNumber(@Param("pendingNum") Integer pendingNum);

    Integer updateApprove(@Param("pendingNum") Integer pendingNum);

    Integer physicsDeleteContract(@Param("pendingNum") Integer pendingNum);

    List<Contract> getContractList(Contract contract);

    List<Contract> getContractByNor();

    Integer updateStatus(List<Contract> contractList);
}
